var vm = new Vue({
	el:'#viewapp',
	data:{
		title: null,
		code: {},
		selected: '',
	},
	methods: {
		getInfo: function(id){
			$.get("../merchantinfo/getQRCode/"+id, function(r){
                vm.code = r.code;
            });
		},
		view: function(id){
			console.log(this.$route.query.id);
		},
	}
});